<div class="fly-panel fly-column">
    <div class="layui-container">
        <ul class="layui-clear">
            <li class="layui-hide-xs">
                <a href="/">首页</a>
            </li>
            {volist name="cates" id='cate'}
            <li class="{:$cate.cid==input('cid')?'layui-this':''}">
                <a href="{:url('index/index/index',['cid'=>$cate.cid])}">{$cate.cname}</a>
            </li>
            {/volist}

            <li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block">
                <a href="{:url('index/user/my')}">我发表的贴</a>
            </li>
            <li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block">
                <a href="{:url('index/user/my')}">我收藏的贴</a>
            </li>
           
        </ul>
        <div class="fly-column-right layui-hide-xs">
            <span class="fly-search LAY_search">
                <i class="layui-icon">&#xe615;</i></span>
            <a href="{:url('index/jie/add')}" class="layui-btn">发表新帖</a></div>
        <div class="layui-hide-sm layui-show-xs-block" style="margin-top: -10px; padding-bottom: 10px; text-align: center;">
            <a href="{:url('index/jie/add')}" class="layui-btn">发表新帖</a></div>
    </div>
</div>